package com.fc.v2.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;
import java.util.Date;

public class Attach implements Serializable {
    private static final long serialVersionUID = 1L;

	
	@ApiModelProperty(value = "")
	private Integer id;
	
	@ApiModelProperty(value = "")
	private String fname;
	
	@ApiModelProperty(value = "")
	private String ftype;
	
	@ApiModelProperty(value = "")
	private String fkey;
	
	@ApiModelProperty(value = "")
	private Integer authorId;
	
	@ApiModelProperty(value = "")
	private Integer created;
	
	@JsonProperty("id")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id =  id;
	}
	@JsonProperty("fname")
	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname =  fname;
	}
	@JsonProperty("ftype")
	public String getFtype() {
		return ftype;
	}

	public void setFtype(String ftype) {
		this.ftype =  ftype;
	}
	@JsonProperty("fkey")
	public String getFkey() {
		return fkey;
	}

	public void setFkey(String fkey) {
		this.fkey =  fkey;
	}
	@JsonProperty("authorId")
	public Integer getAuthorId() {
		return authorId;
	}

	public void setAuthorId(Integer authorId) {
		this.authorId =  authorId;
	}
	@JsonProperty("created")
	public Integer getCreated() {
		return created;
	}

	public void setCreated(Integer created) {
		this.created =  created;
	}

												
	public Attach(Integer id,String fname,String ftype,String fkey,Integer authorId,Integer created) {
				
		this.id = id;
				
		this.fname = fname;
				
		this.ftype = ftype;
				
		this.fkey = fkey;
				
		this.authorId = authorId;
				
		this.created = created;
				
	}

	public Attach() {
	    super();
	}

	

}